﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repository.entity
{
    [Serializable]
    public class User : AggregateRoot
    {

        #region Private Fields
        private string userName;
        private string password;
        private string email;
        #endregion

        #region Public Properties
        /// <summary>
        /// 获取或设置当前客户的用户名。
        /// </summary>
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        /// <summary>
        /// 获取或设置当前客户的登录密码。
        /// </summary>
        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        /// <summary>
        /// 获取或设置当前客户的电子邮件地址。
        /// </summary>
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        #endregion
    }
}
